<!-- toaster directive -->
<toaster-container
	toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->

<!-- 导航条 -->
<div class="bg-white bread-crumb">
	<ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
		<li><a ui-sref="main.tpl.homePage"><i class="fa fa-home"></i> 首页</a></li>
		<li><a ui-sref="main.hui.subscribe.list">订阅管理</a></li>
		<li class="active" ng-bind="title"></li>
	</ul>
</div>

<!-- 内容区域 -->
<div class="wrapper-md content">
	<div class="panel panel-default">
		<!-- 头部 -->
		<div class="panel-heading font-bold">{{title}}
			<a class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs" ui-sref="main.hui.subscribe.list"><i class="text-md fa fa-times text-muted"></i></a>
		</div>

		<!--表单-->
		<div class="panel-body">
			<form class="form-horizontal" name="user_form">
				<!--来源渠道-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">渠道来源:</label>
					<div class="col-sm-2">
						<select class="form-control" ng-model="record.channelNo"
								ng-options="d.channelNo as d.channelName for d in channelList" id="channelNo" name="channelNo" style="color: black">
							<option value="">--选择渠道--</option>
						</select>
						<span class="help-block m-b-none"></span>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<!--消息标题-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">消息标题:</label>
					<label class="control-label">{{record.messageTitle}}</label>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<!--消息内容-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">消息内容:</label>
					<div class="col-sm-8" >
						<label class="control-label" style="text-align: left">{{record.messageComments}}</label>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<!--消息详情-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">消息详情:</label>
					<div class="col-sm-8"  >
					<label class="control-label" style="text-align: left">{{record.messageDetail}}</label>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<!-- 消息图标-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">消息图标:</label><label class="control-label">
					<span ng-if="record.messageIcon!=null"><a target='_blank' href='{{record.messageIcon}}'><img alt='' height='50' width='50' src='{{record.messageIcon}}'></a></span></label>
				</label>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<!--页面样式-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">页面样式:</label>
					<label class="control-label" ng-if="record.pageStyle==1">图片居中</label>
					<label class="control-label" ng-if="record.pageStyle==2">图片居左</label>
					<label class="control-label" ng-if="record.pageStyle==3">无图片环绕</label>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
				<!--消息url跳转地址-->
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">url地址:</label>
					<div class="col-sm-6"  >
					<label class=" control-label">{{record.innerUrl}}</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-lg-2 col-sm-3 control-label">已开放平台:</label>
					<div class="col-sm-6"  >
						<label class=" control-label" id="platOpen"></label>
					</div>
				</div>
				<div class="line line-dashed b-b line-lg pull-in"></div>
			</form>
		</div>
	</div>
</div>
